home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / maximus / stview10.zip / UNPACK.BAT < prev    next >
DOS Batch File  |  1996-04-21  |  995b  |  59 lines

  1. @echo off
  2. rem ==--=StarBar archive extractor batch file=--==
  3. rem        DOS BAT
  4. rem
  5. rem ========================================================================
  6. rem
  7. rem first parameter : Path to node-specific temp dir
  8. rem second parameter : Path and File to be examined
  9. rem
  10. rem ========================================================================
  11. rem
  12.  
  13. md %1
  14.  
  15. cd %1
  16.  
  17. if exist %1\*.arj goto ARJ
  18. if exist %1\*.zip goto ZIP
  19. if exist %1\*.lzh goto LHA
  20. if exist %1\*.rar goto UNRAR
  21. if exist %1\*.arc goto PKUNPAK
  22. if exist %1\*.zoo goto ZOO
  23. if exist %1\*.pak goto PAK
  24.  
  25. rem    Add any other archivers you wish to support here, then follow the
  26. rem    examples below on extracting the info...
  27.  
  28. goto end
  29.  
  30. :ARJ
  31. arj e -y %2 *.*
  32. goto end
  33.  
  34. :ZIP
  35. pkunzip -o %2 *.*
  36. goto end
  37.  
  38. :LHA
  39. lha e /m+c+ %2 *.*
  40. goto end
  41.  
  42. :UNRAR
  43. unrar e -o+ %2 *.*
  44. goto end
  45.  
  46. :PKUNPAK
  47. pkunpak -r %2 *.*
  48. goto end
  49.  
  50. :ZOO
  51. zoo.exe e %2 *.*
  52. goto end
  53.  
  54. :PAK
  55. pak e/WA %2 *.*
  56. goto end
  57.  
  58. :end
  59.